package com.xiaoKe.zhonghzu.global.bean;

import android.widget.ImageView;

import java.io.Serializable;
import java.util.List;

/**
 * @ProjectName : app
 * @Author : Shijingna
 * @Time : 2023/2/13 1:45 下午
 * @Description : 文件描述
 */
@lombok.Data
public class GeneralData implements Serializable {
    private Object name; //标题名字
    private Object k;
    private Object v;
    private Object diffValue; //差值
    private ImageView img;
    private boolean aBoolean;
    private int colour;
    private int state; //3=加载中 2==失败 1==成功

    public GeneralData() {

    }

    public GeneralData(Object k, Object v) {
        this.k = k;
        this.v = v;
    }
    public GeneralData(Object k, int state) {
        this.k = k;
        this.state = state;
    }

    public GeneralData(Object k ,int state,int colour) {
        this.k = k;
        this.state = state;
        this.colour = colour;
    }
    public GeneralData(Object k, boolean aBoolean) {
        this.k = k;
        this.aBoolean = aBoolean;
    }

    public GeneralData(Object k, Object v, Object name) {
        this.k = k;
        this.v = v;
        this.name = name;
    }

    public GeneralData(Object k, Object v, boolean aBoolean) {
        this.k = k;
        this.v = v;
        this.aBoolean = aBoolean;
    }

    public GeneralData(Object k, Object v, Object name, Object diffValue) {
        this.name = name;
        this.k = k;
        this.v = v;
        this.diffValue = diffValue;
    }
    public GeneralData(Object k, Object v, Object name, boolean aBoolean) {
        this.name = name;
        this.k = k;
        this.v = v;
        this.aBoolean = aBoolean;
    }

    public GeneralData(Object name, ImageView img, boolean aBoolean, int colour) {
        this.name = name;
        this.img = img;
        this.aBoolean = aBoolean;
        this.colour = colour;
    }

    public GeneralData(Object name) {
        this.name = name;
    }
}
